fastCSharp.LoadViewType(diantou.answer=function(Value)
	{
	fastCSharp.Copy(this,Value);
	this.Path={
		Index:'/answer/index.html#!answerId='+this.Id,
		Agree:'/answer/agree.html#!answerId='+this.Id,
		Favorite:'/answer/favorite.html#!answerId='+this.Id
		};
	this.isShowComment=0;
	this.comments=[];
	if(this.CommentCount==0)	this.isComments=1;
	});
diantou.answer.prototype={
IsMoreAgree5:function()	{	return this.AgreeCount>5;	}
		};

fastCSharp.LoadViewType(diantou.userAnswer=function(Value)
	{
	fastCSharp.Copy(this,Value);
	});
diantou.userAnswer.prototype={
GetValue:function()	{	return diantou.answer.Get(this.Id,1);	},
IsFilter:function()
	{
	var SkinValue=fastCSharp.PageView.SkinValue.SkinValue;
	return !SkinValue.isFilter||this.IsFocus||this.IsAgree||diantou.answer.Get(this.Id,1).Remote.User.Id==SkinValue.currentUser.Id;
	}
		};

diantou.bestAnswer=function(Value)
	{
	fastCSharp.Copy(this,Value);
	this.GoldClass=this.Rank==1?'Gold':(this.Rank==2?'Silver':(this.Rank===3?'Bronze':null));
	};